package com.thb.pay.payment.service;

import com.thb.pay.api.payment.vo.req.ChannelConfigPageReq;
import com.thb.pay.api.payment.vo.req.ChannelConfigReq;
import com.thb.pay.api.payment.vo.resp.PayChannelVo;
import com.thb.pay.core.utils.PageResult;
import com.thb.pay.db.service.IBaseService;
import com.thb.pay.payment.entity.PayChannel;

/**
 * @Description 通道信息配置表 服务类
 * @Author lucky
 * @data 2019/9/26 22:33
 */
public interface PayChannelService extends IBaseService<PayChannel> {

    PageResult<PayChannelVo> findPage(ChannelConfigPageReq pageReq);

    void add(ChannelConfigReq channelConfigReq);

    void update(ChannelConfigReq channelConfigReq);

    PayChannelVo getById(Long id);

    PayChannelVo getByChannelCode(String channelCode);
}
